package EntityBean;

import java.util.Date;
import java.util.List;

public class Airline{
    // properties

        private String code="";
        private String airname="";
	private int discount=-1;

    public String getCode() {
        return code;
    }

    public int getDiscount() {
        return discount;
    }

    public String getAirName() {
        return airname;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setDiscount(int discount) {
        this.discount = discount;
    }

    public void setAirName(String airname) {
        this.airname = airname;
    }

    public List<Flight> getFlights(Date d, String dep, String dest, int nrPassenger) {
        throw new UnsupportedOperationException("Not yet implemented");
    }

}

